package com.db.tenant.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.db.core.vo.PageResult;
import com.db.core.vo.R;
import com.db.tenant.dto.TenantPageDto;
import com.db.tenant.entity.Tenant;

/**
 * <p>
 * 租户表 服务类
 * </p>
 *
 * @author db
 * @since 2023-10-29
 */
public interface TenantService extends IService<Tenant> {

    PageResult pageList(TenantPageDto tenantPageDto);

    R toggleEnable(String tenantID);
}
